package com.paimeng.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 潘辉
 * @Title: Page
 * @ProjectName: paimeng
 * @Description: 类描述
 * @date: 2021/6/8 20:45
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Page {
    private int page = 1;// 当前页
    private int totalPage = 0;// 总页数
    private int pageRecorders;// 每页多少条数据
    private int totalRows = 0;// 总的数据数
    private int startRow = 0;// 每页起始数
    private int endRow = 0;// 每页终止数
    private boolean hasNextPage = false;// 是否有下一页
    private boolean hasPreviousPage = false;// 是否有前一页
}
